<template>
  <div class="g-tabs-top-fixed-content-padding-wrapper g-a-tabs-height-100-container">
    <a-tabs :activeKey="currentActiveKey" @change="changeTabs" type="line" :forceRender="false" >
      <a-tab-pane :key="1" tab="常用医嘱药物列表"  >
        <commonly/>
      </a-tab-pane>
      <a-tab-pane :key="2" tab="医嘱管理"  >
        <manage/>
      </a-tab-pane>
    </a-tabs>
  </div>
</template>

<script>
import commonly from '@/views/baseData/doctorEnjoinManage/commonly/index'
import manage from '@/views/baseData/doctorEnjoinManage/manage/index'
export default {
  components: {
    commonly,
    manage,
  },
  data() {
    return {
      loading: true, //加载状态,
      currentActiveKey: 1
    }
  },
  created() {

  },
  methods: {
    changeTabs(key) {
      this.currentActiveKey = key
    }
  }

}
</script>

<style lang="less" scoped>
.table-operator {
  margin-bottom: 18px;
}
button {
  margin-right: 8px;
  margin-bottom: 2px;
}


</style>